#ifndef _SHELL_WULINPAIR_BEAN_H_
#define _SHELL_WULINPAIR_BEAN_H_

#include "Beans.h"
#include "Message.h"
#include <vector>
#include "WulinFighter.h"
using namespace std;
class WulinPair : public Bean
{
	public:
	WulinPair();
	~WulinPair();
	void reset();
	WulinPair* clone();
	//id
	int32 id;
	//参赛双方

	vector<WulinFighter*> player;
	//预计战斗时间
	int64 time;
	//日志编号
	int64 fightLogNum;
	//对战结果
	string fightlog;
	//1新手组 2高手组 3宗师组
	int32 type;
	//胜者ID 0为还没打
	int64 victor;
	
	bool read_from(ByteBuf& buf);
	bool write_to(ByteBuf& buf);
};

#endif
